package com.chenjie.executor.day19;


/**
 * packageName com.chenjie.executor.day14
 *
 * @author chenjie
 * @version JDK 8
 * @className TicketTask (此处以class为例)
 * @date 2024/5/28
 * @description TODO
 */
public class Task4 implements Runnable {


    @Override
    public void run() {
            synchronized (this) {
                try {
                    this.wait(3000L);
                } catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }
                System.out.println("人人都是程序员");
            }
        }


    }

